home *** CD-ROM | disk | FTP | other *** search
- VERSION 5.00
- Object = "{3E7AEF13-EEC0-11D2-8B43-000000000000}#1.0#0"; "PCMServer.ocx"
- Begin VB.Form Server
- Caption = "Form1"
- ClientHeight = 3600
- ClientLeft = 60
- ClientTop = 345
- ClientWidth = 5025
- LinkTopic = "Form1"
- ScaleHeight = 3600
- ScaleWidth = 5025
- StartUpPosition = 3 'Windows Default
- Begin PCMServer.PCM_Server PCM_Server1
- Left = 4320
- Top = 120
- _ExtentX = 1085
- _ExtentY = 873
- End
- Begin VB.TextBox Text1
- Height = 3615
- Left = 0
- MultiLine = -1 'True
- TabIndex = 0
- Top = 0
- Width = 5055
- End
- Attribute VB_Name = "Server"
- Attribute VB_GlobalNameSpace = False
- Attribute VB_Creatable = False
- Attribute VB_PredeclaredId = True
- Attribute VB_Exposed = False
- ' this sample project will show you
- ' how to use the server to make a real
- ' time chat room
- ' any one useing the clinet sample project
- ' login and chat
- Private Sub Form_Load()
- PCM_Server1.PortNum = 1001
- PCM_Server1.Wait
- End Sub
- Private Sub PCM_Server1_DataArrival()
- Text1.Text = PCM_Server1.Data
- End Sub
- Private Sub Text1_Change()
- PCM_Server1.Data = Text1.Text
- PCM_Server1.SendData
- End Sub
-